package com.jtny.nytb.equipment.dto.healthy;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * @author 智慧能源中心 - xqx
 * @package com.jtny.energymonitor.equipment.domain.healthy
 * @fileName gx-qyc
 * @Copyright© 2024 jtny
 * @Date 2024/3/26
 * 江投能源技术研究院 版权所有
 */
@Data
@Accessors(chain = true)
@ApiModel(value = "设备健康日期表", description = "设备健康日期表")
public class DeviceHealthyDateDTO {


    protected Long id;

    @ApiModelProperty(value = "父id")
    private Long parentId;

    @ApiModelProperty(value = "时间类型（1：计划停机，2：外部因素停机，3：故障停机）")
    private String type;

    @ApiModelProperty(value = "上传时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
    private Date uploadTime;

    @ApiModelProperty(value = "停机开始时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
    private Date starTime;

    @ApiModelProperty(value = "停机结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
    private Date endTime;
}
